module.exports = {
  // 配置路径别名
  configureWebpack: {
    devServer: {
      disableHostCheck: true,
      proxy: {
        //配置跨域
        '/h5api': {
          target: "https://www.uinav.com", //转发的目标地址
          secure: false,
          changOrigin: true,
          pathRewrite: {
            '^/h5api': ''
          }
        }
      }
    }
  }
}
